var collectVue = new Vue({
	el: "#app",
	data: {
		qrCodePath:""
	},
	methods: {
		show: function() {
			wx.showLoading({
				title: "加载中..."
			});
			this.$http.post(baseUrl + "mjz/user/query/qrCode").then(function(response) {
				wx.hideLoading();
				var a = response.data;
				if (!a.success) {
					wx.showToast({
						title: a.description,
						icon: "none",
						duration: 2e3,
						mask: !0
					});
				} else {
					this.qrCodePath = a.data;
				}
			}).catch(function(error) {
				wx.hideLoading(), console.log(error), wx.showToast({
					title: "网络错误，请检查网络",
					icon: "none",
					duration: 2e3,
					mask: !0
				});
			});
		}

	},
	created: function() {
		this.show();
	}
});
